.chat-room {
  width: 100%;
  max-width: 500px;
  min-height: 500px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.message-list {
  background-color: #ffffff;
  border: 1px solid #ccc;
  min-height: 400px;
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}
.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.sent {
  background-color: #DCF8C6;
  text-align: right;
}

.received {
  background-color: #E8E8E8;
  text-align: left;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-group input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

.input-group button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.input-group button:hover {
  background-color: #0056b3;
}
